| Ensure we're booted
Obey <Obey$dir>.!Boot

| Set up the path on which the Application and Resources reside
Set Oregano2$Path <Oregano2$Dir>.,<Oregano2$Dir>.Resources.,<Oregano2Dir>.Fonts.

| Find the Configuration files
Set Oregano2$Messages    Oregano2:Resources.locale
Set Oregano2$Resources   <Obey$dir>.Resources
Set Oregano2$Fonts       <TrueTypeFont$Path>

Set Oregano2$Options     <Oregano2$Dir>.Settings.Config
Set Oregano2$Favourites  <Oregano2$Dir>.Settings.Favourites
Set Oregano2$Cookies     <Oregano2$Dir>.Settings.Cookies
Set Oregano2$HTTPAuth    <Oregano2$Dir>.Settings.HTTPAuth

| Ensure modules are available
RMEnsure MemoryAllocator 1.10 RMLoad Oregano2:Malloc
RMEnsure InteractorUtils 0.00 RMLoad Oregano2:InteractorUtils
RMEnsure MimeMap         0.00 RMLoad Oregano2:MimeMap

| Ensure that the Toolbox modules are available
Set Oregano2TB$Path System:Modules.Toolbox.

RMEnsure Toolbox	 1.45 RMLoad Oregano2TB:Toolbox
RMEnsure Window          1.59 RMLoad Oregano2TB:Window
RMEnsure IconBar         1.18 RMLoad Oregano2TB:IconBar
RMEnsure Menu            0.35 RMLoad Oregano2TB:Menu
RMEnsure ProgInfo        0.15 RMLoad Oregano2TB:ProgInfo
RMEnsure SaveAs          0.16 RMLoad Oregano2TB:SaveAs

Unset Oregano2TB$Path

WimpSlot -min 3084K -max 3084K
Oregano2:!RunImage %*0

