minor bugfixes and improved last_action view

nice