lua: remove the lua lock, lua is always called with the gtk lock held
lua : optimisation, only call lua callbacks when a callback was registered