fixer some memory related bugs (3dlines and advgraphics now work properly)
updated the windows phone packager to fix a macro define bug. If there are no macro defines the argument should not be given to the builder.