Tons of Updates

Lot of new functions and fixes.