Fix rotations using left/right arrow.
Remove trailing spaces in comments.
Fix initialization and make canvas full-size.