refined the on mousedown and mouseup events

we now have working start and end coordinates we can sue to draw things
like rectanlges and lines and maybe ellipses