Fixes MyAlerts integration, some PHP errors and some minor other things