rewrote getAQLQuery - the old version was too "hacky"
some style stuff in EdgeBox