@returns(none) def system_shutdown()
Frees all data associated with the refstring system. Only called on shutdown.