updating to use myperl (and modernizing)

changing AVAIL to $AVAIL (i.e. constant => Const::Fast)
utilizing //
changing ceil() and floor() to round(UP||DOWN)
utilizing ~~ for `in` type expressions
making AVAILABILITY only act on the first instance

this fixes the bug where multiple :AVAILABILITY lines all fire when starting a timer