Pmaterial fix

Adds the ability of all texture types in materials to be dynamic.  The code checks for the # symbol at the beginning of the string and if it exists it checks for the existence of a NamedTexTarget that has been registered with the name provided minus the # symbol.  This has been tested with dynamic textures and it is working.