Fixing problems on wxMSW: replacing wxCondition with wxSemaphore and fixing QuickSortPivot panel sizing.