Fixed { locations
Addressed comments

Cosmetics, used QProcess instead of system, used File::contains and
File::get, eliminated RectToString()
Replaced execCommand with QProcess::execute()