#2 search for common tables
#2 search fixed
also added a lot of other fixes that was needed
Merge pull request #28 from TjRus/2_feature_tjrus

2 feature tjrus