testing texture rendering, doesn't work so good
Fix Cg linking on OSX
pass through keydown/keyup events (not quite working)