improved shell, more verbose message during startup
added some edge cases