HOPKINS: Rename functions related to fade in/out. Fix a potential issue for short fadings