Further tweaks of fMRI paradigm to abstract helper functions and cleanup logic.