Bugfix/misc

Various bug fixes: 
* Fixed: realtime update were not taken into account
* Fixed: if the task length was too big, the layout broke