Update AtomShellMain to work with latest atom-shell externs