- refactor of Viewport coords & matrix calculations
- conditioning of ERROR CODES by sgl.h specification
- "if" rewritten to "switch" as needed
- added current()–>begin() and current()->end() to check sglBegin and sglEnd of Context