Throwing exception on failbit being set makes getline throw, so undid that..

Also fixed some typos, and plugin names now have '\r' trimmed from their
end since getline only discards the '\n'.