removed first bugs from gui code. Properties are still not displayed