Fix error context was terminated, when close client.
Implement fps in WinMedia.
Register media at creation.
Start config script at end of init cmdHandler.