Font fix

- Change CanvasWindow to Window
- Some tweaks in examples/pong.js
- add some error checking to CStructs in lib/ffi
- have canvas.setFont fail (more) gracefully in lib/draw
- change ffi.os to ffi.getOSName()