wn cleanup, terminal added
refactored js to improve clarity. Terminal with bulk load added