Added a check when everyone entered something and some minor bugfixes