gui in ZED

the program is now written entirely in ZED