Stability and error-handling improvements.
initial commit.