Added gui stuff.