Removed unneeded access to instance vars.
Cleaned up a bit of env handling.
Added ability to add extra env options when needed.
Whitespace.
Added switch to give password and counter to set maximum login attempts.