Added more sync'd scripting functions
Fixed sendMessage