fix issue #694
Merge branch 'unstable' into contextfixme
minor cleanup of stack handling
update documentation and add assertion check for Stack to destructor
Merge pull request #745 from openscad/contextfixme

fix issue #694