Enable edit() to return command status
Bug Fix: some commands result in nothing displayed