added timeout by default in snapshot
removed temp files
check with 'ps' process if vlc is active