move Itchpad window opening to main.js