Rename printStyleElements to printStyleList
Improve keyboard handling slightly
Add debugging environment variable for parser
Rename insert to replace (as that was what it was doing)

and implement insert. Also fix delete and add some tests