Fix for 60fps assumptions
Added logging
Added logging, and don't do viewport calls if not on UI thread
Choose resolution with best refresh rate
Log in "safe location"