make the mainloop not depend on an X display, and make it uses the obt_display automa...