more work on gui, catch nullpointerexception in stopsound