Improving the script engine, the state system, the UI system and a lot more to fit the new architecture of Nephilim 2