Fixed resizing and removed old code
Merge branch 'master' of github.com:szupie/TIDBF