Update Shell.java

Some minor changes
Merge pull request #4 from andriantolie/patch-3

Update Shell.java