Made monitor read-only.
Added (incomplete) ability to parse complex commands.