clean up files and translations. remove unusued functions and such