Thanks a lot for pointing those out. I wasn't aware of both. The first glitch is interesting, simply because you have to click the other button for it to work.
The one with sleeping is a way bigger issue though. It was supposed to let you sleep only when the clock is at 30 or below. Before I simple didn't give the sleeping option when it was earlier, but I thought people may not realize they could sleep at all if they only saw the rest option. So I made it spawn, but be red before it gets dark - seems I forgot about actually making it a condition when clicking it.
The last 2 days before the jams end I didn't have as much time and rushed the "finished" version. So I think I shouldn't patch it, although it's tempting. I just didn't manage it in the time, that's part of a jam I guess. :)