Fixed a few minor bugs; removed dead code; updated minified file ccpwgl_int.js