Fixed a bug with auto-detection
Replaced intval() with (int)
Added Setting Language Support
Missed a file
Merge pull request #9 from JN-Jones/development

Some Improvements
Merging the original Repo