Removed a bunch of compiler warnings

Dem thangs be ugly, yo