dont write css if there are no stylsheets; closes #5