support switching to and from portable mode without restarting
Added API Function: getStatus