Added lambda operator and rudimentary while loop.

Did quick check of Matt's updates too.