Cleanups

Quick fixes: remove use of pass-by-ref, thank you Oldies! #429 
Restore settings mistaken fix (!), thank you Josh.