Fix iterating over libraries

Prior to this commit, you were unable to iterate over libraries.
for k,v in pairs(loadLibrary("hook")) do
for example, would not work
Fix E2 tables not working

If you got an E2 table prior to this commit (mainly through wire inputs), it would not detect it as valid