Tabs bugfixes and some features

nullptr