removed sleep delay function, since that doesn't seem to work on mavericks. Fixed alarm playing bug. Fixed menu preview bug