Fixed memory leak caused by not uninitializing the properties member of classes like wxPoint when they were destroyed which closes #48, also modified code generator to only add the properties code when needed which made the library more leaner.