major progress on processing.js stuff