Fixed a bug causing captures after disconnection
Small refactoring
Added background music