Implemented a first-line-break search optimization
Fixed a IE+FireFox bug (for once, my fault)