Fix compiler warnings. Fixes #2

This just removes a few things that cause compiler warnings when the -Wall compiler flag is turned on.

Fixes #2