added scroll bars to error box
code clean up

added more to the convert
all that is left is for and while loops