split out window events & config
json proxy to avoid cross domain restrictions; split out get command and add "0..5" accessor syntax
sample config