There shouldn't be any old folders. If there are (because of file conflicts with Sync programs or lockfiles from another program) then it won't affect calibre's working -- however, you can clean up foreign data in calibre's library using Check Library (part of Library Maintenance, in the toolbar Library dropdown).
Edit: Ninjaed by PeterT.