clean up missing stuff in preferences

Signed-off-by: Lehner Florian <dev@der-flo.net>
war on leaked bytes

Signed-off-by: Lehner Florian <dev@der-flo.net>