big ui changes for flat ui.