fixed segfault if no query_string found
started work on the html component, added some extra functionallity to arraylist