status: fix toggling flags
status: fire song id change event after song ends with consume flag

fixes http://bugs.musicpd.org/view.php?id=4082
window: enable nonl and use raw terminal mode