Added doWaitPreservingStackTop method to the OCSquirrelVM class so that small chunks of code which require stack operations could be written without bothering to manually restore the stack state.