settings: Make viewwidth, viewlength "int"s instead of pointers.