better trace compare
some updates in unittest
nicer TK window