Finished implementation of connection between jcpds editor and main gui