removed recursive dependency check
some work on object-oriented rendering and mouse click detection