Issue #13: Fix erroneous form submission on safari and probably other browsers.
Issue #13: Put view tabs on the right.
Issue #13: Memory tab should not be marked active.
Issue #13: Use jquery's type() function instead.