preload guards

- remove preload command for actual load
- before preload command check if command still exists
- clean preload commands before exit