- added missing define in support-h.template for memory debugging
- corrected the free-calls for the ctrl-struct in ars_Login
- first changes to the freeing of self-allocated memory to get better compatibility on windows (needs lot more work)