scala 2.11.4, updated libraries, first stab at loops, cleanups