fix some bugs, horizontal layout, oh and nothing currently works in Firefix