minor fixes and reorganization of css styles, closes #229