Fix crashes.
Added shutdown plugin. Work on joystick and general overlay.
Merge branch 'Working' of https://github.com/JohnMcCaffery/Chimera into Working