Fixed a bug in treefy() that tried to access vector oq before making sure it's not empty
Added another bound check in on_debugStep_triggered() to prevent the debugger from trying to move forward (e.g. if you hit F10) in case we are already at the end