fixed bug where macro function definition could not be supplied params

Change-Id: Iab7a1f4db050a7628ddbd8c379dcddabf5d087fc
Added geom tile demo code.
all demo tile info is now transferred with tile descriptors

Change-Id: I8e32474798271ff9962e3090c42077490dc73a3a