implemented mlock for cs
updated save
added list for bs commands
added list for os commands and os main routine