changed to allow config heirarchy from function call -> config file -> default, added 'is end time' true/false check to set increment ending values automatically, lots of comments, simplified call in the light box functions