Project cleanup

Added warnings for deprecated methods
Changed to non-deprecated methods where possible
Removed unused variables
Etc