Added support for loading HTML directly

Added support for loading HTML directly, bottom toolbar will be hidden
when HTML is loaded directly.