minor optimizations

removal of unneeded config parameters and improvement of eventlisteners