partial addition of adapted eclispe examples from original projects

changes to core library to address issues that cropped up when testing
the examples