This one uses postMessage method of Window object to communicate between windows: both parent and child windows has message event listeners attached to window which purpose is to evaluate needed function from listeners object depending on received data. This scheme has two security layers:
Control elements in this block will be available when a child window calculator gets initiated.