Global Exception Handler + various fixes