Open files from the commandline

Opening a file required a callback to know when window is loaded. Also removed unused app/extract!
and added docstrings for ipc.
Revert "ignore node_modules" which clobbers files in deploy/core/node_modules.

@one-more-minute If this is still used, a more specific gitignore is needed.
This reverts commit b3535a11deeb2f5ac774a2afdf7d5cd40660d3a5.
Fix some of the warnings - args no longer needed