1) Declare variables.
2) Everything else except a few @Commands.
3) The few @Commands that are not in (2).
These are the commands in category (3):
FileCloseWindow
FileDatabaseDelete
FileExit
NavigateNext
NavigateNextMain
NavigateNextSelected
NavigateNextUnread
NavigatePrev
NavigatePrevMain
NavigatePrevSelected
NavigatePrevUnread
ToolsRunBackgroundMacros
ToolsRunMacro
ViewChange
ViewSwitchForm