Priority controller changed, js update bugs fixed, new image existence methods are used (from "fs" module).