Adding exception handling

Added exception handling on the .get(). If no object is return, the key
is deleted. Also added exception handle for Keyboard Interrupt so that
it exits cleaner.