Modified Keypressed / Keyreleased

Instead of doing a switch or branch in the update, it would
probably be better to use the callbacks and just bit flags.