Started testing framework and fixed some ui issues.