added != 0 comparisons to silence Visual Studio warnings
added table for_Each, silenced warnings, clarified code
silenced VS warning
jomantos table/reference/copy fix, silenced some warnings
jomanto: __index operator can now be overloaded