Fixed Base64 regex (closing #52) and some UI fixes.