Eliminate some Warnings during compilation

because of
- unchecked or unsafe operations
- dead code (unused private method)
- [WARNING] The following options were not recognized by any processor: '[generatedTranslationFilesPath]'

Oh, wouldn't it be awesome if we all had the same import ordering preferences and these wouldnt be needed? :)