rework

Backspace command removed as it not need

Delete command reworked to delete spaces only if the next line is not
empty