Annotated a lot more of the source code, user input is stored at [25974] known commands exist at [25943] - [25953].