Cached settings, fixes in MPRIS2, code cleanups