added timeout sound, fixed very wrong timeout code