Scripting: Allow multiple global step callbacks and improve documentation