Fixed free issue at startup

Hi guys,

I took an interest in your project and fixed the recent start-up crash you seemed to have introduced. It seemed to be a double free issue, that has been solved by initializing some variables to 0.

Gr. MrHug