changed tables to ajax, fixed some load issues/display issues