removed hardware cursor debug code and added comments over possible bug