Refactor a whole lot of code. Hide console. Improve sigscanning