Added bootstrap
Added a dialog for spatialcalc. Works, but for some reason tries to fire a getLayer on the layer we create.
Figured out the bug that caused the calculation to occur multiple times.