Fixed several compiler warnings and updated some comments.

Signed-off-by: Christian Gunderman <christian@gundermobile.cwru.edu>