Updated inblock and onblock to new material system
Bug fix
Improvement to variable handling

Don't do various update tasks if the variable didn't even change
Don't kill the dragon!