listener stuff, cleaned up jagged edges of drawing