add mpdcmd_init_registers(), mpdcmd_cleanup()
remove unnecessary brackets in if control struct