Fixed memory leak
translated some german in english
refactored some methods, but this code is awful