fixed uniquip "type" field
fixed bug which meant facilities were not added to the uniquip sheet
added "miles" option to sort by distance
added nicer layout to status table page