Addressed various points raised in review: error-handling, simplified Fprint call