Create signatures and sign pdfs from right inside the Preview app
toggle edit toolbar and you'll see a signature menu item. Click "create signature from Facetime camera".
Go has a keyword "defer" that will allow you to queue up things to happen when a method returns.
Great for closing files even is the app panics. Allows you to put closing logic immediately after opening.