fixed some menu bugs

and some floor area bugs, floor area will crash when lines intersect in
floorplan... need fix