Picturemanager fixes, main method logging