Refactored and added a new preview image

Config code has been brought into a module so it wasn't taking up so
much room in the main file.

The preview has been updated to show the setting to force Atom not to
ask to save your unsaved file on close.