linux xlib event loop fixed, mouse works, waveplot text stuff adoption begun