Javascript for UI now functions considerably better.