#51 - Fixed: Closing of preferences now correctly triggers loadPauseState()