Removed dependency on wxWidgets. Fixed hanging on Continuous Scanning.