A lot of stuff done. Especially opening explorer. pre-merge commit
Still need to fix pgn_viewer.html
should  be all merged. will test and then push.
ready for pushing