main session loop w/ stub handlers