If you are interested in capturing output from the mBuino serial port then this might be of interest to you. If you want to chart that data in realtime this will be helpful.
I seem to vaguely remember seeing that code you posted when I started this process. It is great to have another way to do this. So much fun. Thanks for posting that link.