refactored MpdHandler; removed debug statement