Many fixes, including mod entities instead of global ones. Also some missing features and vethean things.