Cleaned up a few warnings and spelling errors