Added css for debug and error-msgs. Fixed bug on index.php. Added debug mode for camera_main