my simple canvas implementation with DrawLine and stuff