Replace if..progn with when

Also made the fic-mode and optional package since I'm not sure how much
I would depend on such a thing.