Bump to 0.40
Add repos, update dependencies, set compiler version
Fix package
Protect against stale markers during /dynmap reload