fix errors maily about that raspi cannot post a pic on tweeter

more than once by adding stop method to cam attribute
also fix other problems