Many bugfixes related to 'drx'. Still not working on linux