Added tabs, statistics
Fixed a lot of bugs