Multithreading and better wedge fitting

Used WX's delayedresult to allow chart generation without freezing the GUI

Detected the extent of each wedge at each quadrilateral to ensure correct bounds detection. Wedges no longer go partially offscreen.

Removed some unused imports