Code cleanup

- Condensed and clarified code in the camera source file and header

- Bracket key events ( [ ] ) changed to work with camera class