Stopped alert sound from playing when there was still minutes left of the session. Some minor stylistic fixes