update interface (canvas especially), remove dead code, modularize saving