Added FPS meter. Added loads of comments to code.