Fixed keysDown issue, added initializations

- keysDown was sticking around too long after keypresses, causing
"newstate" to be set too quickly agian.
- Initializations thrown in. Probably need to fix where they are called,
since right now they are only called... after the state is no longer
used. Meh.