Link parsing now works better

Also fixed the last item in the hyperlink list not being colored
Fix crash if the previous multipart data was empty