adding stuff for UI

- new UI canvas
- debug background, persistence
- drawUI() function for user-defined UI
- improved testing.js logging