final cleanups, fixes and documentation in alarm and music player