RolemIAster: Direct Typing, Stability Fixes, and Detection

**Stability:** - 🛠️ **Goodbye Config Crashes:** Fixed several crashes that occurred under certain conditions and prevented opening or modifying AI settings when changing models or resetting values. - 🗃️ **Silent Datab…