Made some improvements to the clear command
Merge pull request #3 from pkruithof/clear-improvements

Made some improvements to the clear command