All scripts now use strict mode

(plus a little bit of gardening)