minor bugfixes and improved last_action view