General cleanup

I came across this project a long time ago and have wanted to contribute for a long time. I tend to be a stickler for best practices and clean code. Here is an initial tackling and cleaning up of a few things in the `Utilities` class. I'm hoping to contribute more in the future. Looks like a promising tool.