Performance improvements. Also added notifications after answer is inserted or deleted.