Implement modes, CLI, almost everything. TODO: executing actions, tuning gesture recognition