border radius removed from dialogs for the sake of flat design
some comment styling and logic added
persistent connections with API