added screenshot functionality
added startplot