updates command handling, text parsing, etc.