Use a queued connection for notifying the GUI thread of new data.

When using DirectConnection, the receiver is executed in the sender's
thread, which leads to crashes in this case.
Make the settings controller work

From the UI, one can now freeze the trace and change the acquisition time.
TODO: make the program not crash / get slow when acquisition time is too
small.
fix compiler warnings