Added sound detection.
Ensure that the main window is closed if an error occurs during the setup.
Can't convert an empty string to an int.
Bumped version to 0.0.13