Removes not needed compilations, used and in debian src package.
Replaces all printStackTrace with java.util.logging.