Code formatting + redundant code removal

Just another quick PR of some stuff I noticed this morning and fixed while using the library.

Fixes some stuff such as returns at the end of void methods and minor logic errors such as
`boolean myBool = boolStatement ? true : false` 
which could just be
`boolean myBool = boolStatement`