fixing encoding issues triggering warning on VS2013
modifying Director singleton implementation to be able to extend it...