fixed cursor drawing. added table for stage.