Improved rendering

Entities now render correctly relative to parent, camera now tracks
properly, and key input is now detected.