Complete rewrite of the BFBC2CommandHandler and general code cleanup.