Updating header size and tweaking margins.