Fixed issue of extra lines being placed.
Merge pull request #34 from JacobLeach/new_shell

Fixed issue of extra lines being placed.