Updated widgets documentation, added writing CSV files