Removes disruptive event handling; removes archaic bind syntax that doesn't support parameters; fixes onClick handling