under and over speed alarms and some bug fixes