- Removed trigger and marker trimming as these are suppose to be spawned
by the server.
- Added check for mission name length 
- Refractored code