interface, threading, fixes