fixed cross-browser issues, updated ui