changin interface js to osd js
new interface, bug fixes and lots of improvements