Finished writing GUI