Subtract unsigned int's from lits now works. Fixed a couple compilation warnings.