added two way messaging.  changed the API for setting fullscreen and default size.