added error notifications on creating new class and new index
minor fixes