fixed appnodes to no longer have the same id as wholenodes. fixed the rest of the code to not be searching for the appnode and getting the parent just to get a wholenode