Updated theming and alerts for better readability. Removed unused functions.