Move the new updateStats "sub-functions" to a more appropriate subs file.

Signed-off-by: Norv <a.w.norv@gmail.com>
Update several calls, to the functions now in their own file

Signed-off-by: Norv <a.w.norv@gmail.com>