Use newer dialog-1.2-20140219 in static build
Various changes to help compilation
Rework signal handling during procedure for stability

Before, it misfunctioned in Gnome Terminal - whdd just got terminated on Ctrl+C
Reindent CMakeLists