BR_MouseInfo fixes and more cleanups

+Fixed segment detection in ruler when using BR_MouseInfo (mouse hit points and lane borders differ for some reason)
+Removed insane loop in contextual toolbars that did over 1700 comparisons every time context changed
+Removed unused variable in ExoticCommands.cpp
+Misc cleanups
CommandTimer in BR_Timer now works in hookCommandProc2 too
Merge branch 'next' of https://github.com/Jeff0S/sws into next
Fixed code to match changes in BR_Envelope.