removed all asynchrony stuff, cleaned up display of page