a few general fixes to the new flatter theme