reworked layer visibility, added data to csv export