Reduce compiler and code inspection warnings

* Replace single-char strings with chars
* Reduce visibility where applicable
* Remove unused method parameters