Full keybind system, fixes #6

Also shutdown better