Removed Angelscript and fixed bugs