added configurable writeInterval setting for GraphiteDataWriter
minor clean up