Added support for new FML config GUI classes
refactored lots of stuff based on comments