Tabs bugfixes and some features

!= NULL можно не писать