fixed vital issue #327
js file split
more file splitting

should make it easier to add all the new gui stuff it its in a separate
file
Let's call this 3.19 actually