Moved inline func.
Moved inline funcs.
Moved/added some inline funcs.
Updated reset and tumble.
Deleted unnecessary lines.