removed margin bottom from mainbody left over from absolute positioned messages footer, fixed min-height on building_function