Refactored the display module put a little and added a config mechnaism.