Fix some compilation warnings, change some spelling
Close #57