Change maxdatasize to a setting
More commenting