Added underscore for future awesomeness, moved important stuff to GLOBAL instead of passing variables around