Moved object enable code to another method
Fix NullPointerException in BO2s. Fixes #187

Now ConfigFile requires a name and file in the constructor, preventing
this from happening in the future. The file can now only be null if the
config is read from the network.