-Renamed some variables for making browsing mode configurable