Fix formatting and center exception handling in it's own function.
Remove debug print.
Let the users know if no machine was destroyed.
Don't pass the key ids if not defined. Fix `UnboundLocalError` while waiting for the IP. Fixes #514.