Fix and improved GUI. Now i can change algorithm