ignore vim swap files
ignore *.swo
add stop/close support
revert format changes
Merge pull request #10 from maraoz/add/close

Add finalization functions