Added server key presses commands and tidied up the file.