clean up gui font selection code