Have better configuration checks and added Toast messages if there's a problem.