Remove silly imp script macinery and use __import__
Update masked read/writes and add entity update callbacks (per Sarcen)