Okay, I did a little refactoring and it fixed that. Now, however, the buttons don't work. No errors, just no functionality. What could be causing that? Probably unrelated to the first issue.
edit: It's worse than that. There is no functionality to any of the NGUI elements - no dragging, no checkboxes, nothing. Got to be missing something...