Support for sending photos. Some fixed bugs. Slightly changed interface