extracts constants in an own class
fixes misplacements in preferences window
uses the new constants class
reads user defaults in new task window