Main Fixed

Added the texthandler to main