Refactor action listeners.
Fix magic constant errors.
Apply a few IntelliJ suggestions.