cleaned rendering code and setup baseline for clicking on things