cgminer support improvement
Improve the space detection, error dialog always on top