added drawTexturedRect
fixed coordinates for meaningful display
basic drawing and compositing works