Strange clicks after editing

The technical implementation of many basic functions are just screwed up.

SL needs a complete code review and a much better implementation of its internal datahandling. SL in its current state is just a beta version, like a proof of concept by the developer.