! Change literal 'null' to null

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #423 from norv/fixes

Fixes
Merge pull request #424 from Spuds/literalNull

Change literal 'null' to null in setPermissionLevel function and call
Add hook "integrate_simple_actions"
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
updateStats() needs to be broken down. It is prone to failure
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
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>