1) Added check whether scroll-bar-mode is present. 2) Changed default value for case-replace to nil. 3) Little changes in init.el