fixed most of IntelliJ's code analysis warnings (access levels), and used @SuppressWarnings annotations for the rest