made color selecting thread safe and also made framehandler display the
window properly for the GUI which involved changing some pitch constants