Removed unnecessary whitespace.

Moved reconnectAttempts to the read-only section of variables. Not sure why it was with the other settings. It is a read only setting, correct?

Optimized the merging and defining of options and settings. Removed an unnecessary loop.