Increment frame count when rendering
Clean up unused code
First step towards a working GUI