added some user interface and fx plugin code