Made scaling work better

Still need to re-render SVGs when changing zoom
Fixed a bug in image loading
Double -> single quotes
Added option to log primitives as a debugging aid
Removed a console.log
Fixed a key pressed bug
Fixed a boolean casting bug