updated code lab, fixed bugs reported in issue #12210

BUG=
R=sethladd@google.com

Review URL: https://chromiumcodereview.appspot.com/21975002