Fixed header display and placement issue; added some global settings