Draft: update deprecated syntax for assigning signal handlers
change the syntax of on<Signal>Changed: {
to function on<Signal>Changed() {
using regex replace.
still draft because it's completely untested.
sparked by #347, but will likely not fix the issue mentioned there, just get rid of the warning messages when the issue occurs.