minor update

- tab animation speed now more natural
- making use of assert and AssertionError

it is recommended to use -ea VM argument when developing the application
to enable assertions from now on