msc: fix on commands and bundles launching

- detecting of lastrowid removed and replaced by ORM insert
- add some warnings