Fixed variable unassigned
Implemented basic GUI in GTK
Added command line option to use stdout instead of GUI