Added a load function feature and a quit button.