Update, major changes to threads

Added Error class...