Merge pull request #962 from ke-yu/ChocoButter

Clean up DesignScript resource when shutting down
added framework for different UI implementations
added user-facing interface for wpf ui nodes