Refactoring in loadfolder, now supports variable tumblr sizes, dbu code simplified