Created simple UI. Lines are now smooth.