Remove useless mappings
Change bindings slightly
Fix safelink function
Lots of mapping changes, as well as some configuration improvements