cleanup and fixes

- add a release build to vcx project
- DisableAttribArrays after use to avoid crashing
- expose fps as a global
- display fps in debugtext