Fix don't remove the bot object after initiating a quit.
Strip leading and trailing white spaces from IRC commands.
Properly handle empty command arguments.