added formatting and options to gui