Lots of small changes, load error handling and entity scripting. (Closes #30)