UI.jl: Use chomp to remove trailing newline from commands. Hopefully fixes #48