Added code for speedometer - may have some problems. Untested