Fix

* Fix searching after replacing when using regular expression mode in code editor
* Fix "text not found" message in regular expression mode in code editor
* Fix Hunspell warnings
* Fix declaration order in bglobal.h