lambda is now implicit begin, minor error fixes here and there, remove all the exits except the main one.