added having a max number of uses for commands which is changed and respected by insert, delete, and reset. Fixed a bug where deleting all of the lines left the editor with 0 lines inserting or reseting would result in invisible characters and still only 0 lines