change mrb_warn to get mrb_state and %S formatter
change mrb_bug to get mrb_state and %S formatter
Change alghorithm to algorithm
Potential fix for 'inline' macro redefinition error - VS2012 C++
Merge pull request #1250 from Archytaus/master

Fix for 'inline' macro redefinition error in VS2012 C++
Merge pull request #1249 from carsonmcdonald/typocleanup

Change alghorithm to algorithm