add cg.BBox for bbox ctype
pixel units now use negative y
cleanup
add edit box selection