Use var keyword for every var and namespace DOM...

...elements under `elements`, e.g. `elements.thisOrThat` instead of
`elemThisOrThat`. This also removes debugging completely as it will be
reworked eventually (and currently broken anyways).