Cleanup gui code and refined logic

12 jobs for refactor-embargo in 17 minutes and 14 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #1393331
build

00:00:26

 
  Prepare
passed #1393332
prepare

00:00:53

 
  Test
passed #1393338
dev setup tests

00:10:48

passed #1393334
gui linting

00:03:06

passed #1393336
gui tests

00:03:14

passed #1393337
install tests

00:06:01

passed #1393333
python linting

00:06:20

passed #1393335
python tests

00:15:53

78.0%
 
  Release
manual #1393339
allowed to fail manual
deploy dev
manual #1393342
allowed to fail manual
pypi package
manual #1393341
allowed to fail manual
python package
manual #1393340
allowed to fail manual
release latest image