do not build psnr module
disable some actions when no window is open
Fix reload
Change how quality sidebar handles references
Split main app into modules