bugfixes and camera improvement