Fixed a couple of bugs in Default.aspx.cs.