gallery manager class. gallery window gui class