Finished Windows integration, added a simple update function, added
support for different keyboard layouts and fixed a few bugs.