Unneccessary static functions
Removed unused variables
Please gcc by casting to the correct type. Removed unused variables and
functions.
Removed compilation warnings.
Working on fixing gcc warnings
Made gcc even more happy. Note to self: Update arrays that store characthers to
user char, not uint8