all functionality implemented in this new tab interface, although layout is a bit rude and code needs cleaning