Removed mouseClicked functions from main