Fixed many bugs. Thanks to www.raveone.fm for test out nodecast code!