Deletes unsed files under art. Fixes some bugs