add support for constant SIMPLE_HISTORY_DEV. if true some extra tabs + possible other things in future are shown.
cleanups
remove some test functions