nicEdit integrated, several bugfixes