Fixed some issues with the camera and finally made it runnable.