fixed issue with inserting and replacing regions
remove unnecessary constants
temporary fix for issue with gutter icons in ST3