added fail safe for memory allocation (defaults to 30%)
conf default errors
missing file changes..