nicer handling if running standalone or not
reorganize channels, first create layout, then change it, more straightforward
reorganize even more cleanly the channels, and create a button to make average reference
suggests name for sleep scoring xml files
REGRESSION: removed qthread for reading data. It was clean code, but if you moved forward too fast, it would delete qthreads that hadn't finished yet and it would throw a segmentation fault. Use this as example on qthread