Merge pull request #24 from Thepriestdude/master

Added more gates to the componentPanel and made them have inputs
cleanend up some code