Moves KeyState and Key to Window namespace
Fixes conversion warnings and converts double to float