code modifications/fixes; added png