Improve display and ls commands

This change makes them behave a bit more as you'd probably expect from a UNIX system.