Added possibility to call runEmbedding from simple main function
Fixed nasty message about non-notifyable property