Working on the exceptions lib and fixing bugs.