Update shell output
Speed up global variable initialization. Fix  ref.
Add autoload for path functions