GUI: abstracted initialization of Logic and other non-GUI variables