Tabs bugfixes and some features

nullptr, NULL протух