Fix it again
Some misc stuff
Some changes to build script
Add update check to core