Second commit

General updates to core command, game events and utilities.