code cleanup, added portecle demo build script - 7/14/13