Clear jit when changing "fast memory".

This way it takes effect immediately.
Allow jit to be enabled/disabled at runtime.
Merge pull request #6155 from unknownbrackets/ui-tweaks

Allow jit and fast memory to be reconfigured at runtime