Improved QML support

Hi.
Here is better QML support.
I'll try to keep it synchronized with my repo.
By the way, it's possible automate somehow code synchronization?
Let me know if something is wrong.

WBR, Sergey.