Fix tabs vs spaces in file to clean up structure
Fixes #3: Scope loop variable to function

The main property file loading loop uses an implicitly declared value
that can result in loading errors if because now the 'i' loop index is a
global variable that may be impacted by other code that (correctly or by
accident) reads/writes to a global i variable.