core: improve formatting
media control: fix media control disabling to effectively hide controls