updated chili; created multiple-command mode (merges all commands into one for undo/redo purposes)