Fixing liquid filling & liquid pipe crash

Liquid pipes no longer crash the system because of an unchecked array
index
Liquid pipes now properly pump into and out of the exposed tanks