added css config option; some fixes