Cleaned up canvas.cs slightly

Removed unnecessary brackets, made some redundant variable defs
one-lined.