fixed some log issues
fixed log issues
added log features
added iterstat function
added plot apsh