Minor: replace float with float32, etc.
Split out components, debug drawing, etc. from main.cpp into separate files. Erased unused code. Implemented window resizing which scales viewport to best fit window while respecting original aspect ratio.