Basic message filtering

Spam's no longer sent to the server, accounting for some up arrow and vvvvv. I also optimized parseCommand a bit.