Patch for a Remmina segfault and stats code cleaning
Description
A segfault detected by Robert Kyrali (Old Coder).
I'll also apply other fixes to avoid these kinds of issues.
Mainly there were still some old stats code left behind, now it should be clean
Edited by Antenore Gatta (tmow)