Various fixes

Improved encapsulation of chip8 (by making CPU internal registers private), stopped polling for SFML events (the only way the SFML rendering window can be closed is if the Qt app shuts down), and some logical simplifications.