Refactoring: fixed some wxString parameters which were not const references. Also some methods are now const that weren't.
Retained compatibility to plugins after refactoring of the const wxString references as method parameters.