Goldleaf as well as awoo and other installers all are using bad installation algorithm from adubbz's tinfoil:
create app record, then one by one copy contents to place holder and register it. In case of any problem during installation tis algorithm leaves tons of garbage in system including rotating icon oh home screen.
correct algorithm should be following: first copy all contents to placeholders (btw thier ID can be randomly generated and not copied from contentid) only after that register placeholders (this step on non corrupted FS can not produce errors) and only after that create app record - algo used by eshop. pros of this: in case of any errors during content copy one simple call to ncmContentStorageCleanupAllPlaceHolder and system is clean without any garbage from failed install.