Play a melody
Fix minor bugs