new funcs for app folders, map states
fix comment in cloneall
merged latest changes from GitHub