Finally found and fixed a very elusive bug in the TUI project yesterday. More bug fixing in store for today.