Major update

    * Changed threading to work with queues
    * Not yet finished, but going to change how stdin works