Correct preset values for class vars, correct calls for vars, rewrote getPostParameters