Fixed compiler errors in main

Camera still needs a draw function.