Fixed some glitches and bugs, should now work a-ok

More or less...
Switching between apps still not implemented.