Fixed: Most compiler warnings.
Minor cleanup.