Added load time profiling
Changed mouse lock so that it is only applied if the current window has focus (i.e. allowing access of the mouse outside of the game while it is running)