Added a cancel button to stop scanning.
Added support for thread interruption in GamesInCommon.
Fixed scanner not being cancelled correctly.