Lighter watching of frontend files and faster rebundling.

Also fixes URLs in the package.json file and makes error logging more useful by printing stack traces.