Cleanup updateCameraDirection and fix random input not working
Fix endian.h include for FreeBSD
Add display_gamma option for client
Fix map parameter load order