refactor
move drawImage implementation to Surface class
add alternate implementation of arcTo
refactor
revert to earlier verision of arc
refactor