long_cmd usage and deprecated implementationshave been resolved.

long_cmd usage has been corrected and some deprecated implementations have been resolved. (like converting char * to const char * , or vice-versa)
Merge pull request #1 from eightnoteight/master

long_cmd usage and deprecated implementations have been resolved.