Fix variable declaration list and added missing WhileStatement to transf...

...ormer.

For me it only works using the source generator.